// import { request } from './request';
import request from "@/common/http/axios"
///que-data/findAll
export function findAll(data) {
	return request({
		url: '/que-data/findAll',
		method: 'post',
		data
	});
}
// que-data/save
export function save(data) {
	return request({
		url: '/que-data/save',
		method: 'post',
		data
	});
}
// /que-data/delete
export function del(id) {
	return request({
		url: '/que-data/delete',
		method: 'get',
		params: { id }
	});
}
// que-question/findByDataId
export function findByDataId(params) {
	return request({
		url: '/que-question/findByDataId',
		method: 'get',
		params
	});
}
